<me:UIVRP x:Class="WPFExcelReport.TVRPAY"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"     
                    xmlns:ZA="clr-namespace:WPFExcelReport;assembly=TZABED"  
                    xmlns:VA="clr-namespace:WPFExcelReport;assembly=TVAART" 
                    xmlns:VF="clr-namespace:WPFExcelReport;assembly=TVAFARBEN" 
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"  
                    xmlns:ZB="clr-namespace:WPFExcelReport;assembly=TVKZUAB"    
                    xmlns:KD="clr-namespace:WPFExcelReport;assembly=TKDSTAMM" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    FontSize="14"
                    IsEdit="False"
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIVRP.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:NOTConverter x:Key="not"/>
        <ucd:PreisConverter  x:Key="price"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:SDKEYCONV x:Key="sd"/>
    </me:UIVRP.Resources>
    <WrapPanel>

        <TextBlock FontSize="16"  Text="{Binding Source={Localization:Translate Word=类型}}"/>
        <ex:TXT72 FontSize="16" MaxLength="2" PRE="  "   IsAutoClear="True" CharacterCasing="Upper" 
                              Text="{Binding AUFART,ElementName=TV}" Width="30" />
        <TextBlock Text="{Binding AUFART,ElementName=TV,Converter={StaticResource sd},ConverterParameter=8886}"/>

        <TextBlock  Text="{Binding Source={Localization:Translate Word=等值数量(}}"/>
        <TextBlock  Text="{Binding VRPMENGE,Converter={StaticResource d100}}"/>
        <TextBlock  Text="):"/>
        <ex:NumericBox  Text="{Binding QTY,ElementName=TV,Converter={StaticResource ResourceKey=d100}}" 
                          Width="60" />
        <WrapPanel>
            <TextBlock  Margin="10,0,0,0" Text="{Binding Source={Localization:Translate Word=新增}}"/>
            <ex:NumericBox   Width="100" DecimalPlaces="3"
                                   Text="{Binding SVALUE,ElementName=TV}"/>
            <Button   Click="NewCommand" Height="20" Margin="5,0,0,0" 
                      Content="{Binding INFO,ElementName=TV}" />
        </WrapPanel>
    </WrapPanel>
</me:UIVRP> 
 
